This makes it easier to only run unit- or automation tests.
Origin: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2845
Applied-upstream: 45~beta, commit:
476bf230416aed7de05b8194451483ba12ace0be
Gbp-Pq: Name tests-Use-different-suites.patch
configuration: dbusrunnerconf,
)
-tests = [
+unit_tests = [
'highlighter',
'insertSorted',
'jsParse',
'versionCompare',
]
-foreach test : tests
+foreach test : unit_tests
test(test, run_test,
args: 'unit/@0@.js'.format(test),
+ suite: 'unit',
workdir: meson.current_source_dir())
endforeach
options = perf_test.get('options', [])
test('perf-' + test_name, dbus_runner,
+ suite: 'shell',
args: [
perf_tool,
'--headless',